std::free

From Cppreference

< cpp | memory | c
Jump to: navigation, search

Template:cpp/memory/c/sidebar

Defined in header <cstdlib>

void free( void* ptr );

Deallocates the space previously allocated by malloc(), calloc() or realloc().

Parameters

ptr - pointer to the memory to deallocate

Return value

(none)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox